public class SnakePixel extends Pos {
    public int color;
    public char ch;

    public SnakePixel() {
        set(0, 0, SnakeColor.RED, ' ');
    }

    public SnakePixel(int x, int y, int color, char ch) {
        set(x, y, color, ch);
    }

    public SnakePixel(Pos pos, int color, char ch) {
        set(pos, color, ch);
    }

    public SnakePixel set(int x, int y, int color, char ch) {
        super.set(x, y);
        this.color = color;
        this.ch = ch;

        return this;
    }

    public SnakePixel set(Pos pos, int color, char ch) {
        return set(pos.x, pos.y, color, ch);
    }
}
